# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         test08
# Description: 获取某月或某年的日历
# Author:       ASUS
# Date:         2019/3/30
#-------------------------------------------------------------------------------




import calendar
import locale

cal = calendar.month(2017, 1)

print(cal)

locale.setlocale(locale.LC_ALL, 'zh_CN.UTF-8')

cal = calendar.month(2017, 1)

print(cal)
locale.setlocale(locale.LC_ALL, '')
print(calendar.calendar(2017))



